package com.coderman.infosys.busorder.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.coderman.utils.response.ResultDataDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


/**
* @Description:控制层
* @Author:
* @CreateTime:2021-09-30 11:16:45
* @version v1.0
*/
@RestController
public class OpsOrderController {
	
	protected Logger logger = LoggerFactory.getLogger(OpsOrderController.class);

	/**
	 *
	 * @Description:创建服务域名申请工单接口
	 * @return ResultDataDto<Boolean>
	 */
	@RequestMapping(value = "/opsorder/createorder/domain")
	public ResultDataDto<Boolean> createOrder(OpsDomainOrderVO opsDomainOrderVO){
		return null;
	}
	/**
	 *
	 * @Description:创建服务扩容缩容申请工单接口
	 * @return ResultDataDto<Boolean>
	 */
	@RequestMapping(value = "/opsorder/createorder/infrastconfig")
	public ResultDataDto<Boolean> createOrder(InfrastConfigOrderVO infrastConfigOrderVO){
		return null;
	}
	/**
	 *
	 * @Description:创建集群下线申请工单接口
	 * @return ResultDataDto<Boolean>
	 */
	@RequestMapping(value = "/opsorder/createorder/clustoffline")
	public ResultDataDto<Boolean> createOrder(ClustOfflineOrderVO clustOfflineOrderVO){
		return null;
	}
	/**
	 *
	 * @Description:提交工单接口
	 * @return ResultDataDto<Boolean>
	 */
	@RequestMapping(value = "/opsorder/submitorder")
	public ResultDataDto<Boolean> submitorder(BusOrderVO busOrderVO){
		return null;
	}
	/**
	 *
	 * @Description:提交服务域名申请工单接口
	 * @return ResultDataDto<Boolean>
	 */
	@RequestMapping(value = "/opsorder/submitorder/domain")
	public ResultDataDto<Boolean> submitOrder(OpsDomainOrderVO opsDomainOrderVO){
		return null;
	}
	/**
	 *
	 * @Description:提交服务扩容缩容申请工单接口
	 * @return ResultDataDto<Boolean>
	 */
	@RequestMapping(value = "/opsorder/submitorder/infrastconfig")
	public ResultDataDto<Boolean> submitOrder(InfrastConfigOrderVO infrastConfigOrderVO){
		return null;
	}
	/**
	 *
	 * @Description:提交集群下线申请工单接口
	 * @return ResultDataDto<Boolean>
	 */
	@RequestMapping(value = "/opsorder/submitorder/clustoffline")
	public ResultDataDto<Boolean> submitOrder(ClustOfflineOrderVO clustOfflineOrderVO){
		return null;
	}
	/**
	 *
	 * @Description:查看我的工单列表
	 * @return ResultDataDto<List<BusOrderVO>>
	 */
	@RequestMapping(value = "/opsorder/getmyorder")
	public ResultDataDto<List<BusOrderVO>> getMyOrderList(){
		return null;
	}
	/**
	 *
	 * @Description:分页查看所有工单
	 * @return ResultDataDto<Page<BusOrderVO>>
	 */
	@RequestMapping(value = "/opsorder/getpage")
	public ResultDataDto<Page<BusOrderVO>> getMyOrderList(BusOrderQueryVO busOrderQueryVO){
		return null;
	}
}
